//    Copyright (C) Kherty.  All rights reserved.
using System;
using OpenLS.Core.Serialization;
using OpenLS.Drawing;

namespace OpenLS.Chart
{
    internal class DrawingAbsoluteSizeAnchor : DrawingAnchor
    {
        private PositiveSize2D _ext;
        private Marker _from;

        public Marker From
        {
            get { return _from; }
            set { _from = value; }
        }

        public PositiveSize2D Size
        {
            get { return _ext; }
            set { _ext = value; }
        }

        internal override void ReadXmlCore(ReadContext context)
        {
            using (context.Read("absSizeAnchor"))
            {
                throw new NotImplementedException(); //\\From = c.ReadElementAs<Marker>("from");
                //\\[[ = c.ReadElementAs<PositiveSize2D>("ext");
            }
        }


        internal override void WriteXmlCore(WriteContext context)
        {
            throw new NotImplementedException();
        }
    }
}